// 查询分页列表
import request from "@/utils/request.js";

//我的合同模块接口
export function getDocMyAttachmentPageList(query) {
    return request({
        url: '/doc/myDocAttachment/page',
        method: 'get',
        params: query
    })
}

export function deleteDocMyAttachment(id) {
    return request({
        url: '/doc/myDocAttachment/delete/' + id,
        method: 'delete'
    })
}

export function getDocMyAttachmentFile(id) {
    return request({
        url: '/doc/myDocAttachment/getPageOfficeFile/' + id,
        method: 'get'
    })
}


//办理合同模块接口
export function getDocProcessAttachmentPageList(query) {
    return request({
        url: '/doc/processDocAttachment/page',
        method: 'get',
        params: query
    })
}

export function getDocProcessAttachmentFile(id) {
    return request({
        url: '/doc/processDocAttachment/getPageOfficeFile/' + id,
        method: 'get'
    })
}
